package com.pingan.haofang.searchcloud.monitor.dto;

import com.pingan.haofang.searchcloud.index.dto.IndexBuildProgressTopDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * 索引查询TOP10信息
 *
 * @author EX-ZHOUYONG005
 * @date 2018/11/1
 * @since 1.0.0
 */
@ApiModel(description = "索引查询TOP10信息")
public class DashboardIndexTopQueryResult {

    /**
     * 索引聚合信息
     */
    @ApiModelProperty("索引聚合信息")
    private DashboardIndexAggregationDTO dashboardIndexAggregationDTO;

    /**
     * 索引失败率top10
     */
    @ApiModelProperty("索引失败率top10")
    private List<IndexBuildProgressTopDTO> indexFailTop10;

    /**
     * 索引耗时top10
     */
    @ApiModelProperty("索引耗时top10")
    private List<IndexBuildProgressTopDTO> indexCostTop10;

    public DashboardIndexAggregationDTO getDashboardIndexAggregationDTO() {
        return dashboardIndexAggregationDTO;
    }

    public void setDashboardIndexAggregationDTO(DashboardIndexAggregationDTO dashboardIndexAggregationDTO) {
        this.dashboardIndexAggregationDTO = dashboardIndexAggregationDTO;
    }

    public List<IndexBuildProgressTopDTO> getIndexFailTop10() {
        return indexFailTop10;
    }

    public void setIndexFailTop10(List<IndexBuildProgressTopDTO> indexFailTop10) {
        this.indexFailTop10 = indexFailTop10;
    }

    public List<IndexBuildProgressTopDTO> getIndexCostTop10() {
        return indexCostTop10;
    }

    public void setIndexCostTop10(List<IndexBuildProgressTopDTO> indexCostTop10) {
        this.indexCostTop10 = indexCostTop10;
    }
}
